package jatosoft.accounting.service;

import jatosoft.accounting.dao.model.Voucher;

import java.util.Date;
import java.util.List;

//@Remotable
public interface VoucherService {
	Integer addVoucher(Voucher v);

	List<Voucher> queryVoucherByDuration(Date fromDate, Date toDate);

	void removeVoucher(Voucher voucher);

	List summarizeByAccount(Date fromDate, Date toDate);

	Voucher getVoucher(Integer voucherId);

	Voucher summarizeTaxByMonth(int year, int month);

	Double getAdministrationExpenses(int year, int month);

	Double getFinancialExpenses(int year, int month);

	Double getServiceIncome(int year, int month);
}
